@tailwind base;
@tailwind components;
@tailwind utilities;

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

#root, html, body {
    height: 100%;
}

.my_layout_content {
    overflow-y: scroll !important;
}

/*滚动条宽高背景*/
.my_layout_content::-webkit-scrollbar {
    width: 8px;
    height: 12px;
    background: transparent;
}

/*滚动条轨道*/
.my_layout_content::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
    border-radius: 10px;
    background-color: #F5F5F5;
}

/*滑块*/
.my_layout_content::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: transparent;
}

.my_layout_content:hover::-webkit-scrollbar-thumb {
    background-color: rgba(160, 160, 160, 0.72);
}
